package com.example.w.weather_demo;

import android.app.Application;

import com.lzy.okgo.OkGo;
import com.lzy.okgo.model.HttpParams;

/**
 * Created by lijianbin on 2017/2/24.
 */

public class App extends Application {
    @Override
    public void onCreate() {
        super.onCreate();

        HttpParams params = new HttpParams();
        params.put("key", "3e3ff2818d9549e9bb7a183504cefcac");
        OkGo.init(this);
        OkGo.getInstance().addCommonParams(params);
    }
}
